package edu.xhu.communityantiepidemicsystemback.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import edu.xhu.communityantiepidemicsystemback.dto.*;
import edu.xhu.communityantiepidemicsystemback.entity.Community;
import edu.xhu.communityantiepidemicsystemback.entity.Material;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lcx
 * @since 2022-06-20
 */
public interface IMaterialService extends IService<Material> {

    //分页查询全部信息
    IPage<Material> getAllMaterialInfo(Query query);

    public IPage<Material> fuzzyMaterialInfo(Fuzzy fuzzy);

    public boolean addMaterial(CreatMaterial creatMaterial);

    public boolean delMaterial(Integer id);

    public boolean updateMaterial(UpdateMaterial updateMaterial);

}
